﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ResourceManager : MonoBehaviour {

	// Use this for initialization
	void Start () {
	}
	
	// Update is called once per frame
	void Update () {
		
	}

    public Object LoadAsset(string assetname)
    {
        Object loadedRes = Resources.Load(assetname);

        return loadedRes;
    }

    public Sprite LoadSprite(string assetname)
    {
        Sprite loadedRes = Resources.Load<Sprite>(assetname);

        return loadedRes;
    }
}
